<template>
    
    <div class="center">
		<div class="header">
		  <div class="logo">
			<img src="../../public/img/logo_top.png">
		  </div>
		  <div class="nav">
			<div class="biao1">
			  <router-link to="/"><p>服务案列</p></router-link>
			  <ul>
				<li>企业</li>
				<li>市政单位</li>
				<li>高校</li>
			  </ul>
			</div>
			<div class="biao1">
			  <p>产品介绍</p>
			  <ul>
				<li><a href="">内容</a></li>
				<li><a href="">产品</a></li>
				<li><a href="">服务</a></li>
				<li><a href="">智能硬件</a></li>
			  </ul>
			</div>
			<div class="biao1">
				<p><router-link to="/aboutus"><a href="">关于我们</a></router-link></p>
			</div>
		  </div>
		  <div class="you">
			<span class="nav_list">
			  <a href="">电脑端体验</a>
			</span>
			<span class="nav_item">
			  <a href="">移动端体验</a>
			  <i>
				<img src="../../public/img/zhangyue_ma.png">
			  </i>
			</span>
			<button class="btn">申请使用</button>
		  </div>
		</div>
	  </div>
    
</template>

<style scoped>
* {
    margin: 0;
    padding: 0;
  }
  /* 去掉a的下划线 */
  a {
    text-decoration: none;
  }
  a:active,a:link,a:visited{
    color: black;
  }
  a:hover{
    color: black;
  }
  /* 去掉ul，ol的默认列表项标记 */
  ul,ol {
    list-style: none;
  }
  /* 清除浮动 */
  .clearfloat::after {
    content: "\200B";
    display:block;
    height:0;
    clear:both;
  }
  /* ie6,7,8 */
  .clearfloat {
    *zoom: 1;
  }
  /* pc端 */
  .center {
    /* 宽度要根据自定义好的宽度写 */
    width: 1000px;
    /* 居中 */
    margin: 0 auto;
  }
.center{
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
    min-width: 1200px;
  }
  .center .header{
    max-width: 1200px;
    height: 48px;
    line-height: 48px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 1px rgb(94  121  159 / 15%);
  }
  .logo{
    align-items: center;
    width: 115px;
    height: 48px;
    float: left;
    display: flex;
  }
  .logo > img{
    width: 100%;
    align-items: center;
  }
  .nav{
    padding-left: 90px;
    display: flex;
    width: 336px;
    height: 48px;
  }
  .nav .biao1 > p{
    width: 112px;
    height: 48px;
    text-align: center;
  }
  .biao1 ul{
    background-color: #fff;
    box-shadow: 
    1px -1px 2px rgb(94 121 159 / 15%), 
    1px 1px 2px rgb(94 121 159 / 15%), 
    1px 1px 2px rgb(94 121 159 / 15%), 
    -1px 1px 2px rgb(94 121 159 / 15%);
  }
  .header .nav div:hover p,.header .nav div:hover p > a{
    color: #5788d9;
    cursor: pointer;
  }
  .header .nav div:hover ul{
    display: block;
  }
  
  .header .nav div:nth-child(1) p, .header .nav div:nth-child(2) p{
    padding: 0rem 0.26rem;
    font-size: .14rem;
  }
  /* .header .nav div:nth-child(1) p::after, .header .nav div:nth-child(2) p::after{
    content: "";
    position: absolute;
    top: 19px;
    width: 0.6rem;
    height: 0.6rem;
    background: url(../../public/img/top_fangkuai.png);
    transform:rotate(180deg) ;
  } */
  .nav > .biao1 > p , .nav > .biao1  p > a,.nav > .biao1  li {
    font-size: 14px;
    color: #555555;
    text-decoration: none;
  } 
  .nav > .biao1  li {
    cursor: pointer;
  }
  .biao1>ul{
    list-style: none;
    line-height: 30px;
    text-align: center;
    display: none;
  }
  .you{
    position: absolute;
    top: 0px;
    left:70%;
    display: flex;
  }
  .you a{
    text-decoration: none;
  }
  .you span{
    padding-right: 20px;
    display: block;
  }
  .you span a{
    color: #444444;
    font-size: 14px;
    text-align: center;
    color: #444;
    font-size: 15px;
  }
  .header .you span:hover a{
    color: #5788d9;
  }
  .nav_item i>img{
    display: none;
    width: 112px;height: 112px;
    border-radius: 5px;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -64px;
    border: 6px solid #f0f6fe;
    box-sizing: border-box;
  }
  .header .you span:hover i>img{
    display: block;
  }
  .btn:hover{
    background-color: #007aff;
    cursor: pointer;
  }
  .btn{
    width: 84px;height: 32px;
    font-size: 14px;
    line-height: 32px;
    color: #fff;
    display: inline-block;
    border-radius: 16px;
    text-align: center;
    margin-left: .6rem;
    background-color: #5788d9;
    border: 0px;
    margin-top: 10px;
  }
</style>

